import request from "../utils/request";

// 按需导出每个api请求

// export function sousuoMusic(data){
//     return request.get('/search',data)
//https://app.ep12.com/api/index/index_pc }

/*查询数据*/
export function getArticle(data){
    return request({ url:'/api/index/lists_pc', params:data })
}
/*根据id搜索内容*/
export function getplayidApi(data){
    return request({ url:'/api/index/Content_pc', params:data })
}
/*根据标题搜索内容*/
export function getSearchApi(data){
    return request({ url:'/api/index/search_pc', params:data })
}
/*查询热门排行*/
export function getremenVideoApi(data){
    return request({ url:'/api/index/lists_pcViews', params:data })
}
/*查询7天热门新闻*/
export function getremenXinwen7Api(data){
    return request({ url:'/api/index/lists_pc7DayViews', params:data })
}
/*查询1天热门新闻*/
export function getremenXinwen1Api(data){
    return request({ url:'/api/index/lists_pc1DayViews', params:data })
}
/*查询1天热门新闻*/
export function getaddHotApi(data){
    return request({ url:'/api/index/upview', params:data })
}
